package br.com.prontuario.logica.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.prontuario.bean.NotificacaoBean;
import br.com.prontuario.dao.unitario.contract.NotificacaoDaoContract;
import br.com.prontuario.logica.contract.NotificacaoLogicaContract;

@Service("notificacaoLogica")
public class NotificacaoLogica extends DefaultLogica<NotificacaoBean> implements NotificacaoLogicaContract {
	
	private static final long serialVersionUID = 1L;

	@Autowired
	private NotificacaoDaoContract<NotificacaoBean> daoNotificacao;
	
	public List<NotificacaoBean> buscarNotificacoesPendentes() {
		return daoNotificacao.buscarNotificacoesPendentes();
	}

}
